﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using Brouteforce.gameObjs;
//using Brouteforce.gameobjs;
//using Brouteforce.utilities;
//using Microsoft.Xna.Framework;
//using Microsoft.Xna.Framework.Graphics;

//namespace Brouteforce.managers
//{
//    public enum ScreenName
//    {
//        CharacterBuilder,
//        Gameboard
//    }

//    public class GameManager
//    {
//        public static ScreenName ScreenName = ScreenName.Gameboard;

//        public static int Turn = 0;
//        public static int ComputerId = -1;
//        public static int NumberOfTowersInWorld = 2;
//        public static int GameWinner = ComputerId;

//        #region Output

//        public static bool IsNewGameStarted = false;

//        #endregion

//        public static void Initialize()
//        {
//            WorldManager.Initialize();
//            DashboardManager.Initialize();
//            IsNewGameStarted = true;
//        }

//        public static void Update()
//        {
//            //check if the current player won 
//            if (PlayersManager.Instance.HowManyTowersDoesThePlayerHave() == NumberOfTowersInWorld)
//            {
//                GameWinner = PlayersManager.Instance.GetCurrentPlayerName();
//            }
//            else
//            {
//                InputManager.Update(); //must be before world manager!  
//                WorldManager.Update();
//                DashboardManager.Update();
//                PlayersManager.Instance.Update();

//                IsNewGameStarted = false;
//            }
//        }

//        public static void Draw()
//        {
//            if (GameWinner == ComputerId)
//            {
//                WorldManager.Draw();
//                DashboardManager.Draw();
//                InputManager.Draw();
//                PlayersManager.Draw();
//            }
//            else
//                BFGame.SpriteBatch.DrawString(BFGame.MessageFont, "Player Number " + PlayersManager.Instance.GetCurrentPlayerName()+ "\n Has Won!", new Vector2(200, 150), PlayersManager.Instance.GetCurrentPlayerColor());
//        }

////        public static void ScreenPress(int x, int y) {
////            WorldManager.ScreenPress(x, y);
////            PlayersManager.Instance.MouseClickedOnTile(x,y);
////            //Camera.Msg = "pressed on: " + tile.X + "X" + tile.Y;
////            
////        }

////        public static void ScreenRelease(int x, int y) {
////            WorldManager.ScreenRelease(x, y);
////        }


//        public static Viewport Viewport
//        {
//            get { return BFGame.Graphics.GraphicsDevice.Viewport; }
//        }


////        public static void ScreenMousePostion(int curMousePosX, int curMousePosY) {
////            if (Viewport.Bounds.Contains(curMousePosX, curMousePosY))
////                WorldManager.MousePassedOn(curMousePosX, curMousePosY);
////        }
//    }
//}